import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [{
    path: '/',
    name: 'Home',
    component: () => import('../views/login.vue')
  },
  {
    path: '/formDesign',
    name: 'FormDesign',
    component: () => import('../views/formDesign.vue')
  },
  {
    path: '/apply',
    name: 'apply',
    component: () => import('../views/formRealize/apply.vue')
  },
  {
    path: '/approve',
    name: 'approve',
    component: () => import('../views/formRealize/approve.vue')
  },
  {
    path: '/detial',
    name: 'detial',
    component: () => import('../views/formRealize/detial.vue')
  },
]

const router = new VueRouter({
  routes
})

export default router